DEBUG = False
SECRET_KEY = 'abcdefg1234'

BACKEND_API = 'http://gamecloud-test.qiyi.domain:81'

LDAP_HOST = 'ldap://10.11.50.65:389'
LDAP_USER = 'tp_sys_game_gamecloud'
LDAP_PASSWORD = '1qaz9ol.'

DB_HOST = '10.77.34.132'
DB_PORT = 1336
DB_USER = 'dbadmin'
DB_PASS = 'zI@#k-lYG#g['
DB_NAME = 'test_gamecloud'

SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://dbadmin:zI@#k-lYG#g[@10.77.34.132:1336/test_gamecloud?charset=utf8'
#  SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://root@192.168.99.100:32784/test_gamecloud_docker?charset=utf8'
SQLALCHEMY_TRACK_MODIFICATIONS = True
SQLALCHEMY_RECORD_QUERIES = True
DATABASE_QUERY_TIMEOUT = 0.0001

LOGGER_LEVEL = 'debug'
LOGGER_PATH = '/tmp/api_server.log'
LOGGER_MAX_BYTES = 100000
LOGGER_BACKUP_COUNT = 10 

MAIL_SERVER = '10.11.64.80'
MAIL_PORT = 25
# MAIL_USE_TLS = False
# MAIL_USE_SSL = False
# MAIL_DEBUG = False
MAIL_USERNAME = 'game_ops'
MAIL_PASSWORD = 'edc$RFV#'
MAIL_DEFAULT_SENDER = 'game_ops@qiyi.com'
# MAIL_MAX_EMAILS = None
# MAIL_SUPPRESS_SEND = default app.testing
# MAIL_ASCII_ATTACHMENTS : default False
MAIL_TO = ['yujianjian@qiyi.com']
MAIL_CC = ['guopengfei@qiy.com',
           'pengjiayun@qiy.com']


BROKER_URL = 'redis://localhost:6379/3'
CELERY_TIMEZONE = 'Asia/Shanghai'
CELERY_RESULT_BACKEND = 'redis://localhost:6379/3'
CELERY_TASK_SERIALIZER = 'msgpack'
CELERY_RESULT_SERIALIZER = 'json'
CELERY_ACCEPT_CONTENT = ['json', 'msgpack']

CELERYD_AUTOSCALER = (6, 3)
CELERYD_CONCURRENCY = 4
